<?php

namespace App\Providers;

use App\Http\Repositories\Eloquent\Brand;
use App\Http\Repositories\Eloquent\CarFee;
use App\Http\Repositories\Eloquent\Color;
use App\Http\Repositories\Eloquent\Fee;
use App\Http\Repositories\Eloquent\Flow;
use App\Http\Repositories\Eloquent\Region;
use App\Observers\CarFeeObserver;
use App\Observers\FlowObserver;
use App\Util\Helper;
use Illuminate\Support\Facades\Request;
use Illuminate\Support\Facades\Route;
use Illuminate\Support\ServiceProvider;

class AppServiceProvider extends ServiceProvider
{

    /**
     *
     * @return void
     */
    public function boot()
    {

        $global = [];
        $global['url'] = Request::path();

        view()->share('global',$global);

    }

    /**
     * Register any application services.
     *
     * @return void
     */
    public function register()
    {
        //
    }

}
